package com.rpc.multiRegister;

/**
 * @author ZhangYongLiang
 * @Date 2021/11/11 10:21
 */
public interface ServiceRegistry {

    <T> void register(T service) throws RPCException;

    Object getService(String serviceName) throws RPCException;
}
